/**
 * EmptyStackException represent the situation in which a stack is empty.
 *
 * @author Casey M. Wylie
 * @version 1.0, 04/19/2010
 */

package jss2.exceptions;

public class EmptyStackException extends RuntimeException
{
    /**
     * Creates the exception.
     */
    public EmptyStackException()
    {
	super("The stack is empty.");
    }

    /**
     *Create the exception with the specified message.
     *
     * @param message the custom message for this exception
     */
    public EmptyStackException(String message)
    {
	super(message);
    }
}


